package a.happy.town.onebook;

import lombok.Data;

/**
 * @BelongsProject: onebook
 * @BelongsPackage: a.happy.town.onebook
 * @Author: ByHappy  (Email:15188881427@163.c0m)
 * @CreateTime: 2023-07-30 15:26
 * @Description:    用户信息实体对象
 * @Version: 1.0
 **/
@Data
public class UserDTO {
    private String username;     // 用户名
    private String password;     // 密码
    private String personID;     // 身份证号码
    private String phoneNumber;  // 手机号码放到用户对象中

    public UserDTO() {
    }

    public UserDTO(String username, String password, String personID, String phoneNumber) {
        this.username = username;
        this.password = password;
        this.personID = personID;
        this.phoneNumber = phoneNumber;
    }
}
